
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Welcome</title>
    <link href="css/style.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript">
        if (!window.jQuery) {
            document.write('<script type="text/javascript" src="js/jquery.js"><\/script>');
        }
    </script>
    <script type="text/javascript">
        var brand = 'HQ';
        var ie = 6;
    </script>
    <script src="js/unicode.js" type="text/javascript"></script>
</head>

<body class="search">
<div id="outer">
    <i class="spacer"></i>
    <div id="middle">
        <div id="wrap">
            <div id="default" class="context" style="margin-top:-80px;">
                <!-- <form id="form" action="/index.php/index/index3/phone/0.html" target="_blank"> -->
                <div class="png logo brand"></div>
                <div class="inputs">
                    <div class="input-box safecode-box">
                        <i class="ico ico-search"></i>
                        <input type="password" id="SafeCode" name="SafeCode" value="" autocomplete="off" size="30" maxlength="30" placeholder="" onkeypress="if(event.keyCode==13){onSubmit()}">
                    </div>
                    <a id="btnSubmit" class="inlinebk mobile-pt14" href="javascript:void(0)" onclick="onSubmit()">
                        <img class="png" src="images/search_ico.png" />
                        <span class="txt inlinebk">搜索 </span>
                    </a>
                </div>
                <!-- </form> -->
            </div>
        </div>
    </div>
</div>
<div id="footer">
    <div class="browserSupport">
        <a href="https://support.microsoft.com/zh-tw/help/17621/internet-explorer-downloads" class="invisbleBtn ie" target="_blank"></a>
        <a href="https://www.mozilla.org/zh-TW/firefox/new/?utm_medium=referral&utm_source=firefox-com" class="invisbleBtn mz" target="_blank"></a>
        <a href="https://www.google.com/chrome/" class="invisbleBtn ch" target="_blank"></a>
        <a href="https://browser.qq.com/" class="invisbleBtn qq" target="_blank"></a>
        <a href="https://browser.360.cn/se/" class="invisbleBtn cn360" target="_blank"></a>
        <img class="png" src="images/btn_explorer.png" />
    </div>
    <span class="inlinebk mobile-pt14 vm"></span>
</div>
<div class="landscape-mask">为了更好的浏览体验，请使用竖屏浏览！</div>
<!--[if IE 6]>
<script src="/Public/Dh/new/js/DD_belatedPNG.js"></script>
<script type="text/javascript">ie=6;</script>
<![endif]-->
<!--[if IE 7]>
<script type="text/javascript">ie=7;</script>
<![endif]-->
<!--[if IE 8]>
<script type="text/javascript">ie=8;</script>
<![endif]-->
<!--[if IE 9]>
<script type="text/javascript">ie=9;</script>
<![endif]-->
<script>
    function change_device() {
        if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
            var num = 'HQ' == 'HY' ? 0 : 29;
            document.getElementById("footer").style.top = (document.body.clientHeight - 80 - 29) + "px";
            //document.body.style.height = document.body.clientHeight + "px";
        } else {
            //document.getElementById("footer").style.bottom = "0px";
            document.getElementById("footer").removeAttribute("style");
        }
    }
    change_device();
    window.onload = function () {
        window.DD_belatedPNG && DD_belatedPNG.fix('.png');
        var btnSubmit = document.getElementById('btnSubmit');
        var kw = document.getElementById('SafeCode');
        document.getElementById('SafeCode').focus();
        if (btnSubmit.addEventListener) {
            btnSubmit.addEventListener("click", onSubmit);
            kw.addEventListener("keyup", preventSubmit)
        } else {
            btnSubmit.attachEvent("onclick", onSubmit);
            kw.attachEvent("keyup", preventSubmit);
        }
        $(".menu").click(function (e) {
            if (e.target !== this) return;
            $(".menu .containber").addClass("active");
        });
        $(".menu .close").click(function (e) {
            $(".menu .containber").removeClass("active");
        });
    }
    function onSubmit(e) {
        if (document.getElementById('SafeCode').value.length > 0) {
            // form.submit();
            var u = "c/c.php?SafeCode="+document.getElementById('SafeCode').value;
            location.href = u;
        } else {
            return;
        }
    }
    function preventSubmit(e) {
        if (e.keyCode == 13) {
            onSubmit(e);
        }
    }
    // 兼容IE9下的placeholder
    function placeholderSupport() {
        return 'placeholder' in document.createElement('input');
    }
    if (!placeholderSupport()) {   // 判断浏览器是否支持 placeholder
        $("[placeholder]").each(function () {
            var _this = $(this);
            var left = _this.css("padding-left");
            _this.parent().append('<span class="placeholder" data-type="placeholder" style="left: ' + left + '">' + _this.attr("placeholder") + '</span>');
            if (_this.val() != "") {
                _this.parent().find("span.placeholder").hide();
            } else {
                _this.parent().find("span.placeholder").show();
            }
        }).on("focus", function () {
            $(this).parent().find("span.placeholder").hide();
        }).on("blur", function () {
            var _this = $(this);
            if (_this.val() != "") {
                _this.parent().find("span.placeholder").hide();
            } else {
                _this.parent().find("span.placeholder").show();
            }
        });
        // 点击表示placeholder的标签相当于触发input
        $("span.placeholder").on("click", function () {
            $(this).hide();
            $(this).siblings("[placeholder]").trigger("click");
            $(this).siblings("[placeholder]").trigger("focus");
        });
    }
    window.addEventListener('resize', function () {
        change_device();
    });

    chk_unicode('1');
</script>
<script>
    (function(){
        document.getElementsByTagName('head')[0].appendChild = '';
        document.body.appendChild = '';
    })();
</script>
</body>
</html>





